import org from "./modules/org"
import quanxian from "./modules/quanxian"



const routes = [
    {
        path: "/",
        component: () => import("@/views/layout.vue"),
        meta: {
            title: "首页"
        },
        children: [
            {
                path: "",
                component: () => import("@/views/home/index.vue"),
                meta:{
                    title:"首页"
                }
            },
            org,
            quanxian
        ]
    },
    {
        path: "/login",
        component: () => import("@/views/login/index.vue"),
        meta: {
            not_check: true,
            title:"登录"
        }
    },
    {
        path: "/404",
        component: () => import("@/views/error/404.vue"),
        meta: {
            not_check: true
        }
    },
    {
        path: "/403",
        component: () => import("@/views/error/403.vue"),
        meta: {
            not_check: true
        }
    },
    {
        path: "*",
        component: () => import("@/views/error/404.vue"),
        meta: {
            not_check: true
        }
    }
    
]

export default routes